Skip to content

Update java 21 - #471

Merged
ChristianHoesel merged 2 commits into
masterfrom
update-java-21
Nov 21, 2026
Merged

ChristianHoesel merged 2 commits into
masterfrom
update-java-21

Conversation

@ChristianHoesel

Copy link
Copy Markdown
Member

Code und Build auf Java 21 angehoben

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block the Java 21 baseline upgrade.

No open issues 🎉

What changed in this PR

Raises the shared BitCtrl library’s Java baseline from 17 to 21, aligning source code, Maven, CI, and the development container.

Changes:

  • Targets Java 21, retains CI coverage on Java 21 and 25, and updates the development container.
  • Adopts collection endpoint methods and adds @Serial annotations.
  • Advances the version to 3.1.0-SNAPSHOT, documents the upgrade, and removes Travis CI metadata.
File Description
src/​main/​java/​com/​bitctrl/​util/​TwoDimensionalMap.java Adds @Serial to the serialization identifier.
src/​main/​java/​com/​bitctrl/​util/​TreeProperties.java Adds @Serial to the serialization identifier.
src/​main/​java/​com/​bitctrl/​util/​Timestamp.java Adds @Serial to the serialization identifier.
src/​main/​java/​com/​bitctrl/​util/​ListChangedEvent.java Adds @Serial to the serialization identifier.
src/​main/​java/​com/​bitctrl/​util/​jar/​JarVersionInfo.java Uses removeFirst() for argument removal.
src/​main/​java/​com/​bitctrl/​text/​CheckText.java Uses getFirst() and getLast() for matching boundaries.
src/​main/​java/​com/​bitctrl/​net/​MAC.java Adds @Serial to the serialization identifier.
src/​main/​java/​com/​bitctrl/​net/​IP.java Adds @Serial to the serialization identifier.
src/​main/​java/​com/​bitctrl/​modell/​DAOException.java Adds @Serial to the serialization identifier.
src/​main/​java/​com/​bitctrl/​modell/​DAOEvent.java Adds @Serial and removes an optional enum semicolon.
src/​main/​java/​com/​bitctrl/​model/​NamedObject.java Adds @Serial to the serialization identifier.
src/​main/​java/​com/​bitctrl/​model/​ModelElement.java Adds @Serial to the serialization identifier.
src/​main/​java/​com/​bitctrl/​graph/​GraphAlgorithm.java Uses addFirst() when constructing paths.
src/​main/​java/​com/​bitctrl/​commands/​CommandFinishedEvent.java Adds @Serial to the serialization identifier.
src/​main/​java/​com/​bitctrl/​beans/​BeanEvent.java Adds @Serial to the serialization identifier.
README.md Documents the Java 21 upgrade for version 3.1.0.
pom.xml Updates the version and Java target; removes Travis CI metadata.
.github/​workflows/​maven-ci.yml Removes Java 17 from the CI matrix.
.devcontainer/​devcontainer.json Switches the development image to Java 21.

Review effort: Balanced

@ChristianHoesel
ChristianHoesel merged commit 9d620d2 into master Nov 21, 2026
5 checks passed
@ChristianHoesel
ChristianHoesel deleted the update-java-21 branch November 21, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants